package com.mingmen.supplier.model;

import java.util.List;

public class CompareModel {


    /**
     * code : 0
     * message : 操作成功
     * time : 2020-08-06 17:21:50
     * data : [{"priceDate":"2020-08-01","price":200,"maxPrice":300,"minPrice":180},{"priceDate":"2020-08-02","price":210,"maxPrice":300,"minPrice":180},{"priceDate":"2020-08-03","price":250,"maxPrice":300,"minPrice":180},{"priceDate":"2020-08-04","price":180,"maxPrice":300,"minPrice":180},{"priceDate":"2020-08-05","price":300,"maxPrice":300,"minPrice":180},{"priceDate":"2020-08-06","price":200,"maxPrice":300,"minPrice":180}]
     */

    private int code;
    private String message;
    private String time;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * priceDate : 2020-08-01
         * price : 200.0
         * maxPrice : 300.0
         * minPrice : 180.0
         */

        private String priceDate;
        private double price;
        private double maxPrice;
        private double minPrice;

        public String getPriceDate() {
            return priceDate;
        }

        public void setPriceDate(String priceDate) {
            this.priceDate = priceDate;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public double getMaxPrice() {
            return maxPrice;
        }

        public void setMaxPrice(double maxPrice) {
            this.maxPrice = maxPrice;
        }

        public double getMinPrice() {
            return minPrice;
        }

        public void setMinPrice(double minPrice) {
            this.minPrice = minPrice;
        }
    }
}
